package com.maoning.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maoning.common.utils.PageUtils;
import com.maoning.product.entity.AttrGroupEntity;
import com.maoning.product.vo.AttrGroupWithAttrVo;
import com.maoning.product.vo.SkuItemVo;
import com.maoning.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author ss
 * @email 361736093@qq.com
 * @date 2021-08-19 10:06:58
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long SpuId, Long catalogId);

}

